.yaf ,.yaf  td
{
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 8pt;
}

.yaf input{font:8pt Verdana,Arial,Helvetica,sans-serif}

.yaf select{background:#ffffff;font:8pt Verdana,Arial,Helvetica,sans-serif}

.yaf textarea{background:#ffffff;border:1px solid #000000;
font:8pt Verdana,Arial,Helvetica,sans-serif;padding-bottom:2px;padding-left:2px}

.yaf form{display:inline}

.yaf input{border:1px solid #4C77B6;font-size:8pt}

.yaf input.pbutton{background:#EEF5FF;}

/* For BBCode Post Buttons */
.yaf .ButtonOut
{
	filter: alpha(opacity=70);
	border: #7F9DB9 1px solid;
}
.yaf .ButtonOver
{
	background-color: #FFE1AC;
	border: #FFAD55 1px solid;
}
.yaf .ButtonChecked
{
	background-color: #FFCB7E;
	border: #FFAD55 1px solid;
}
.yaf .ButtonOff
{
	filter: gray() alpha(opacity=30);
	background-color: #C0C0C0;
	border: #7F9DB9 1px solid;
}

/*  */
.yaf img 
{
	border: 0;
}

/* hyperlinks */
.yaf a		{ text-decoration: none; color: #303030; }
.yaf a:hover		{ text-decoration: underline; }

/* Header 1 - Main header */
.yaf .header1 {
	background-image: url('bg_header1.png');
	background-color: #7D8CFF;
	color: #FFFFFF;
	font-weight: bold;
	height: 32px;
	font-size:12px;
}

/* Links in header1 */
.yaf tr.header1 a		{color:#FFFFFF;text-decoration:none}
.yaf tr.header1 a:hover	{color:#C0C0FF;text-decoration:none}

/* Header 2 - Sub header */
.yaf .header2 {
	background-image: url('bg_header2.png');
	background-color: #7D8CFF;
	color: #3A4F6C;
	font-weight: bold;
	height: 28px;
}

.yaf td.header2links a				{color: #3A4F6C;text-decoration:none;font-size:7.5pt;}
.yaf td.header2links	a:hover	{color: #3A4F6C;text-decoration:none;font-size:7.5pt;}

/* Footer1 - Bottom of tables */
.yaf .footer1 {
	background-image: url('bg_footer1.png');
	font-size: 7pt;
	height: 28px;
}

.yaf .footer1 select,.yaf  .footer1 td
{
	font-size: 7pt;
}

.yaf .postformheader 
{
	background-color: #D1DCEB;
	font-weight:bold;
}

/* Header of posts */
.yaf .postheader 
{
	background-color: #E4EAF2;
	color:#404040;
}

/* User info and post/article */
.yaf .post 
{
	background-color: #DFE6EF;
	color:#404040;
}

.yaf .post_alt
{
	background-color: #dfe9f7;
	color:#404040;	
}

.yaf .post_priority
{
	font-weight:bold;
}

.yaf .post_link
{

}

/* Footer of posts */
.yaf .postfooter 
{
    background-color: #D1DCEB;
}

/* Area between posts */
.yaf .postsep 
{
	background-color: #8394B2;
	height: 2px 
}

/* most tables are class 'content' */
.yaf .content {
	font-family: verdana,Arial,Helvetica,sans-serif;
	font-size: 8pt;
	border: solid 1px #8394B2;
	color: #000000;
	padding: 0px;
	background-color: #FFFFFF;
}

.yaf .content td {
	padding: 3px;
}

.yaf #RichEdit td 
{
	padding: 0px;
}

/* links inside content table*/
.yaf .content a		{ color: #202020; text-decoration: underline; }
.yaf .content a:hover	{ color: #3A4F6C; text-decoration: none; }

/* used for quoting messages */
.yaf .quote 
{
	margin-left: 16px;
	padding-left: 16px;
}

.yaf .innerquote 
{
	padding: 4px;
	background-color: #E4EAF2;
	border: solid 1px #8394B2;
}

/* used for code */
.yaf .code
{
	margin-left: 16px;
	padding-left: 16px;	
}

.yaf .innercode
{
	padding: 4px;
	/*background-color: #B2C8F6;*/
	background-color: #FFFFFF;
	border: solid 1px #95B4F3;
	/*color:#014C00;*/
	color:#000000;
	font-family:Courier New,Courier;
}

/* font sizes */
.yaf .smallfont	{ font-size: 7.5pt; }
.yaf .largefont	{ font-size: 9pt; }

/* Image Links */
.yaf a.imagelink 
{
	font-size: 8pt;
	font-weight: bold;
	color: #000080;
}
.yaf a:hover.imagelink
{
	text-decoration: underline;
	color: #0000FF;
	/*background-color: #D0D0D0;*/
}

/* Used for editor textarea */
.yaf .posteditor 
{
	width: 100%;
	height: 200px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 8pt;
}

/* Table just above and below tables */
.yaf table.command 
{
	/*border: solid 1px blue;*/
	padding: 3px;
}

/* p-tag at the top of pages with navigation links */
.yaf .navlinks { font-weight: bold; color: #202020; font-size: 9pt; }
.yaf .navlinks a { color: #000000; text-decoration: none }
.yaf .navlinks a:hover { color: #6594D5; }

/* for printing */
.yaf .print 
{
	border: solid 1px #C0C0C0;
}
.yaf .printheader 
{
	background-color: #DDDDDD;
	color: #000000;
	padding: 4px;
}
.yaf .printbody 
{
	background-color: #FFFFFF;
	color: #000000;
	padding: 4px;
}

/*
Use this to setup overflow feature for your site.
On IE that would mean specifying a width so that the overflow will work properly.
This CSS already works on FireFox.
*/
.yaf div.postdiv
{
	width: 100%;
	min-height: 100px;
	overflow: auto;	
}